package com.zhuoyue.biz.core.api.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zhuoyue.biz.core.api.domain.base.BaseDoClass;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @ClassName: GroupDeviceRelation
 * @Description: 群组与zigbee设备关系列表
 * @author wjming
 * @Date 2021-07-08 13:22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "`tbl_group_device_relation`")
public class GroupDeviceRelation extends BaseDoClass implements Serializable {
    /**
     * 群组ID
     */
    @TableField(value = "`group_id`")

    private String groupId;

    /**
     * 设备ID
     */
    @TableField(value = "`device_id`")
    private String deviceId;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_GROUP_ID = "group_id";

    public static final String COL_DEVICE_ID = "device_id";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_MODIFY_TIME = "modify_time";
}